package com.example.uart;

import android.util.Log;

public class Uart {
	public boolean Open_Uart(){
		int fd;
		fd = Linuxc.openUart(0);
		if(fd>0)
		{
			Linuxc.setUart(0);
			return true;
		}
		else
			return false;
	}
	public void Close_Uart(){
		Linuxc.closeUart(0);
	}
	public void Set_Uart(){
		Linuxc.setUart(0);
	}
	public void Send_Uart(char msg[]){
		 Linuxc.sendMsgUart(msg);
	}
}
